package com.ktg.ktgcommon.domain;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TmTool {

  private Long toolId;
  private String toolCode;
  private String toolName;
  private String brand;
  private String spec;
  private Long toolTypeId;
  private String toolTypeCode;
  private String toolTypeName;
  private String codeFlag;
  private Long quantity;
  private Long quantityAvail;
  private String maintenType;
  private Long nextMaintenPeriod;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date nextMaintenDate;
  private String status;
  private String remark;
  private String attr1;
  private String attr2;
  private Long attr3;
  private Long attr4;
  private String createBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
  private String updateBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
